export type RouterMetaType = {
  path?: string | string[];
  method: string;
  key: string | symbol;
  target?: object;
  handler: Function;
};
export type RouteData = {
  prefix?: string;
  path: string;
  requestMethod: string;
  methodName: string | symbol;
  method: Function;
  target: any;
  name: string;
  id?: string | number;
};

export type RequestMethodType = "get" | "post" | "put" | "delete" | "options" | "patch" | "head" | "all";

export type RouteParam = {
  prefix?: string;
  paramtype: string; // 类型
  data: any; // 参数
  methodName: string | symbol; // 方法名称
  index: number;
  target: Function;
};

export type ControllerData = {
  prefix: string;
  name: string;
  value: Function;
};

export type RouterOption = {
  
};
